import request from '../common/request.js'

const api = {};

//请求方式必须大写，为了兼容其他应用
//备品备件列表
api.ShowData = params => request.globalRequest("/api/services/app/ArchvieSparePart/Page",'POST',params,1)

//获取存放位置
api.GetRoomName = params => request.globalRequest('/api/services/app/ViewRoom/GetRoomSelect','GET',params,1);

//备品备件详情
api.GetInformation = params => request.globalRequest('/api/services/app/ArchvieSparePart/Get','GET',params,2);

//备品备件抽屉数据
api.SpartChoose = params => request.globalRequest('/api/services/app/Frame/GetSupplyScreen','GET',params,1);


export default api